﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="LuotChoi.aspx.cs" Inherits="QuickGame.View.QLLuotChoi" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxDocking" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100px;
        }
        .style2
        {
            width: 392px;
        }
        .style3
        {
            width: 120px;
        }
        .style4
        {
            width: 395px;
        }
        .style5
        {
            width: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="height: 800px">
        <dx:ASPxLabel ID="txtthongtinnguoichoi" runat="server" ForeColor="Blue" Font-Size=Medium>
        </dx:ASPxLabel>
        <br />
        <br />
        <dx:ASPxLabel ID="txtThongtinluotchoi" runat="server" ForeColor="Blue">
        </dx:ASPxLabel>
        <br />
        <br />
        <table border="0" width="100%">
            <tr>
                <td class="style1">
                    <dx:ASPxLabel ID="txtloaicauhoi" runat="server" Text="Câu hỏi :">
                    </dx:ASPxLabel>
                </td>
                <td class="style2">
                    <dx:ASPxLabel ID="txtCauHoi" runat="server" Height="16px" Style="margin-left: 1px;
                        margin-top: 3px" Width="392px" Font-Bold="True" Font-Size="Medium" 
                        ForeColor="Red">
                    </dx:ASPxLabel>
                    
                </td>
                <td class="style2">
                    
                    
                </td>
            </tr>
        </table>
        <br />
        <dx:ASPxLabel ID="txtEror" runat="server" ForeColor="Red">
        </dx:ASPxLabel>
        <table border="0" width="100%">
            <tr>
                <td class="style1">
                </td>
                <td class="style4">
                    <dx:ASPxRadioButtonList ID="listcautraloi" runat="server" Height="49px" Style="margin-left: 0px;
                        margin-top: 0px" Width="387px" >
                    </dx:ASPxRadioButtonList>
                    <asp:CheckBoxList ID="cblCauTraLoi" runat="server" Width="387px" BorderColor = "Black" BorderWidth ="1px">
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem></asp:ListItem>
                    </asp:CheckBoxList>
                </td>
                <td class ="style5">
                </td>
                <td class="style3">
                <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Tổng tiền thưởng">
                </dx:ASPxLabel>
                </td>
                <td>
                <dx:ASPxLabel ID="txtTongtien" runat="server" Text="0" ForeColor="Red" >
                </dx:ASPxLabel>
                </td>
            </tr>
        </table>
        <br />
        <table border="0">
            <tr>
                <td class="style1">
                    
                </td>
                <td class="style1">
                    <dx:ASPxRadioButton ID="rb5050" runat="server" Text="50-50" GroupName="a">
                    </dx:ASPxRadioButton>
                </td>
                <td class = "style1">
                    <dx:ASPxRadioButton ID="rbFlip" runat="server" Text="Bỏ qua" GroupName="a">
                    </dx:ASPxRadioButton>
                </td>
                <td class = "style3">
                    <dx:ASPxRadioButton ID="rb2dapan" runat="server" Text="Chọn 2 đáp án" GroupName="a">
                    </dx:ASPxRadioButton>
                </td>
                <td class = "style3">
                    <dx:ASPxButton ID="btnSuDungTroGiup" runat="server" AutoPostBack="False" OnClick="btnSuDungTroGiup_Click"
                    Text="Sử dụng" Width="70px">
                    </dx:ASPxButton>
                </td>
            </tr>
        </table> 
        <br />
        <table border="0">
            <tr>
                <td class="style1">
                    
                </td>
                <td class="style1">
                    <dx:ASPxButton ID="btnTraLoi" runat="server" AutoPostBack="False" OnClick="ASPxButton1_Click"
                    Style="margin-left: 10px; margin-top: 0px" Text="Trả lời" Height="25px" 
                        Width="56px">
                    </dx:ASPxButton>
                </td>
                <td class = "style1">
                    <dx:ASPxButton ID="btnTiepTuc" runat="server" OnClick="btnTiepTuc_Click" Style="margin-left: 11px"
                    Text="Tiếp tục" Width="68px" AutoPostBack="False">
                    </dx:ASPxButton>
                </td>
                <td class = "style3">
                    <dx:ASPxButton ID="btnLuotmoi" runat="server" OnClick="btnLuotmoi_Click" Style="margin-left: 12px"
                    Text="Lượt chơi mới" Width="108px" AutoPostBack="False">
                    </dx:ASPxButton>
                </td>
                <td class = "style3">
                    
                </td>
            </tr>
        </table>
        <br />
        
        
        <br />
        
        <br />
        
        <br />
        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Lịch sử chơi">
        </dx:ASPxLabel>
        <br />
        <dx:ASPxGridView ID="grvLichsuchoi" runat="server" AutoGenerateColumns="False" Style="margin-left: 76px"
            Width="538px" KeyFieldName="ID" 
            onstartrowediting="grvLichsuchoi_StartRowEditing">
            <Columns>
                <dx:GridViewDataTextColumn FieldName="ID" Visible="False" VisibleIndex="0">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Số câu trả lời" FieldName="CauTraLoi" VisibleIndex="2">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Tiền thưởng" FieldName="Diem" VisibleIndex="4">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataDateColumn Caption="Thời gian" FieldName="Ngay" VisibleIndex="1">
                    <PropertiesDateEdit DisplayFormatString="dd/MM/yyyy hh:mm" EditFormat="DateTime">
                    </PropertiesDateEdit>
                </dx:GridViewDataDateColumn>
            </Columns>
            <SettingsBehavior AllowFocusedRow="True" />
            <SettingsPager NumericButtonCount="5" PageSize="5">
            </SettingsPager>
        </dx:ASPxGridView>
    </div>
</asp:Content>
